find_package(GSL)

if (${GSL_FOUND})
	include_directories(${GSL_INCLUDE_DIRS})
	link_directories(${GSL_LIBRARY_DIRS})
	enable_language(C)
	add_executable(crank_nicolson_adv_1d_case.exe
	 	../adv_1d_common_mod.f90
		../adv_1d_test_case_mod.f90
		crank_nicolson_adv_1d_case.f90)
	target_link_libraries(crank_nicolson_adv_1d_case.exe netcdff gsl gslcblas)
endif ()
